import {Text, View} from 'react-native';

export default function App() {
  const list = ['登录', '退出', '收藏', '点赞'];
  return (
    <View>
      {list.map((item, index) => {
        return <Text key={index}>{item}</Text>;
      })}
    </View>
  );
}
